using System;

namespace NGNntpPlugIn
{
	/// <summary>
	/// Summary description for NntpNewsgroup.
	/// </summary>
	public class NntpNewsgroup
	{
		private string m_name;
		private bool m_isSelected;

		public NntpNewsgroup(string name, bool isSelected)
		{
			m_name = name;
			m_isSelected = isSelected;
		}

		public string Name
		{
			get { return m_name; }
			set { m_name = value; }
		}

		public bool IsSelected
		{
			get { return m_isSelected; }
			set { m_isSelected = value; }
		}

		public override string ToString()
		{
			return Name;
		}

	}
}
